-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: V4 create behind feature flag [1/n] #4444
Conversation
johnnyd-eth
commented
Aug 29, 2024
•
edited
Loading
edited
- Copies v2v3 create dir to v4
- Modify pages/create to enable v4 behind feature flag, plus wrap v4 in required Providers: https://github.com/jbx-protocol/juice-interface/pull/4444/files#r1735464428
e629a1a
to
239552a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Main diff here
const [loading, setLoading] = useState(true) | ||
|
||
useEffect(() => { | ||
if (!router.isReady || !contracts.primaryNativeTerminal.data) return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Terminal address loaded for network given here: https://github.com/jbx-protocol/juice-interface/pull/4444/files#r1735468140
<WagmiProvider config={wagmiConfig}> | ||
{/* Hardcode V4 create to Sepoila for now */} | ||
<JBProjectProvider | ||
chainId={NETWORKS_BY_NAME[NetworkName.sepolia].chainId as 11155111} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.